using System;
using ZhCun.DbCore.Entitys;

namespace ZhCun.RightsManage.DBModel
{
	public partial class Sys_LogHttp : EntityBase
	{
		private System.Int32 _Id;
		/// <summary>
		/// Id
		/// </summary>
		[Entity(ColumnName = CNId, IsPrimaryKey = true, IsIdentity = true, IsNotNull = true)]
		public System.Int32 Id
		{
			get { return _Id; }
			set
			{
				_Id = value;
				base.SetFieldChanged(CNId) ;
			}
		}

		private System.String _AddHost;
		/// <summary>
		/// AddHost
		/// </summary>
		[Entity(ColumnName = CNAddHost)]
		public System.String AddHost
		{
			get { return _AddHost; }
			set
			{
				_AddHost = value;
				base.SetFieldChanged(CNAddHost) ;
			}
		}

		private System.DateTime _AddTime;
		/// <summary>
		/// AddTime
		/// </summary>
		[Entity(ColumnName = CNAddTime, IsNotNull = true)]
		public System.DateTime AddTime
		{
			get { return _AddTime; }
			set
			{
				_AddTime = value;
				base.SetFieldChanged(CNAddTime) ;
			}
		}

		private System.String _AddUserId;
		/// <summary>
		/// AddUserId
		/// </summary>
		[Entity(ColumnName = CNAddUserId)]
		public System.String AddUserId
		{
			get { return _AddUserId; }
			set
			{
				_AddUserId = value;
				base.SetFieldChanged(CNAddUserId) ;
			}
		}

		private System.String _UserName;
		/// <summary>
		/// UserName
		/// </summary>
		[Entity(ColumnName = CNUserName)]
		public System.String UserName
		{
			get { return _UserName; }
			set
			{
				_UserName = value;
				base.SetFieldChanged(CNUserName) ;
			}
		}

		private System.String _LoginName;
		/// <summary>
		/// LoginName
		/// </summary>
		[Entity(ColumnName = CNLoginName)]
		public System.String LoginName
		{
			get { return _LoginName; }
			set
			{
				_LoginName = value;
				base.SetFieldChanged(CNLoginName) ;
			}
		}

		private System.String _ClientSN;
		/// <summary>
		/// ClientSN
		/// </summary>
		[Entity(ColumnName = CNClientSN)]
		public System.String ClientSN
		{
			get { return _ClientSN; }
			set
			{
				_ClientSN = value;
				base.SetFieldChanged(CNClientSN) ;
			}
		}

		private System.Int32? _HttpType;
		/// <summary>
		/// HttpType
		/// </summary>
		[Entity(ColumnName = CNHttpType)]
		public System.Int32? HttpType
		{
			get { return _HttpType; }
			set
			{
				_HttpType = value;
				base.SetFieldChanged(CNHttpType) ;
			}
		}

		private System.Decimal? _RunTime;
		/// <summary>
		/// RunTime
		/// </summary>
		[Entity(ColumnName = CNRunTime)]
		public System.Decimal? RunTime
		{
			get { return _RunTime; }
			set
			{
				_RunTime = value;
				base.SetFieldChanged(CNRunTime) ;
			}
		}

		private System.String _RequestPath;
		/// <summary>
		/// RequestPath
		/// </summary>
		[Entity(ColumnName = CNRequestPath)]
		public System.String RequestPath
		{
			get { return _RequestPath; }
			set
			{
				_RequestPath = value;
				base.SetFieldChanged(CNRequestPath) ;
			}
		}

		private System.Int32? _StatusCode;
		/// <summary>
		/// StatusCode
		/// </summary>
		[Entity(ColumnName = CNStatusCode)]
		public System.Int32? StatusCode
		{
			get { return _StatusCode; }
			set
			{
				_StatusCode = value;
				base.SetFieldChanged(CNStatusCode) ;
			}
		}

		private System.String _HttpMethod;
		/// <summary>
		/// HttpMethod
		/// </summary>
		[Entity(ColumnName = CNHttpMethod)]
		public System.String HttpMethod
		{
			get { return _HttpMethod; }
			set
			{
				_HttpMethod = value;
				base.SetFieldChanged(CNHttpMethod) ;
			}
		}

		private System.String _ControllerName;
		/// <summary>
		/// ControllerName
		/// </summary>
		[Entity(ColumnName = CNControllerName)]
		public System.String ControllerName
		{
			get { return _ControllerName; }
			set
			{
				_ControllerName = value;
				base.SetFieldChanged(CNControllerName) ;
			}
		}

		private System.String _ActionName;
		/// <summary>
		/// ActionName
		/// </summary>
		[Entity(ColumnName = CNActionName)]
		public System.String ActionName
		{
			get { return _ActionName; }
			set
			{
				_ActionName = value;
				base.SetFieldChanged(CNActionName) ;
			}
		}

		private System.String _RequestParam;
		/// <summary>
		/// RequestParam
		/// </summary>
		[Entity(ColumnName = CNRequestParam)]
		public System.String RequestParam
		{
			get { return _RequestParam; }
			set
			{
				_RequestParam = value;
				base.SetFieldChanged(CNRequestParam) ;
			}
		}

		private System.String _RequestContent;
		/// <summary>
		/// RequestContent
		/// </summary>
		[Entity(ColumnName = CNRequestContent)]
		public System.String RequestContent
		{
			get { return _RequestContent; }
			set
			{
				_RequestContent = value;
				base.SetFieldChanged(CNRequestContent) ;
			}
		}

		private System.String _ResponseContent;
		/// <summary>
		/// ResponseContent
		/// </summary>
		[Entity(ColumnName = CNResponseContent)]
		public System.String ResponseContent
		{
			get { return _ResponseContent; }
			set
			{
				_ResponseContent = value;
				base.SetFieldChanged(CNResponseContent) ;
			}
		}

		private System.String _Remark;
		/// <summary>
		/// Remark
		/// </summary>
		[Entity(ColumnName = CNRemark)]
		public System.String Remark
		{
			get { return _Remark; }
			set
			{
				_Remark = value;
				base.SetFieldChanged(CNRemark) ;
			}
		}

		#region 字段名的定义
		public const string CNId = "Id";
		public const string CNAddHost = "AddHost";
		public const string CNAddTime = "AddTime";
		public const string CNAddUserId = "AddUserId";
		public const string CNUserName = "UserName";
		public const string CNLoginName = "LoginName";
		public const string CNClientSN = "ClientSN";
		public const string CNHttpType = "HttpType";
		public const string CNRunTime = "RunTime";
		public const string CNRequestPath = "RequestPath";
		public const string CNStatusCode = "StatusCode";
		public const string CNHttpMethod = "HttpMethod";
		public const string CNControllerName = "ControllerName";
		public const string CNActionName = "ActionName";
		public const string CNRequestParam = "RequestParam";
		public const string CNRequestContent = "RequestContent";
		public const string CNResponseContent = "ResponseContent";
		public const string CNRemark = "Remark";
		#endregion

	}
}
